import Vue from 'vue'
import App from './App.vue'
import './components/TopBase'

//引入VueRouter
import VueRouter from 'vue-router'
Vue.use(VueRouter)

//引入路由器
import router from './router/index'

Vue.config.productionTip = false

new Vue({
    el:'#app',
    render:(createElement) =>{
        return createElement(App)
    },
    router
})